MailNode = {
    {"mailID",      1,		"int"},
    {"title",		1,		"string"},
    {"content",     1,		"string"},
    {"sendTime",    1,		"int"},
    {"isRead",		1,		"int"},
    --道具内容
    {"items",        6,		require("bag.Proto").ItemData},
}

MailLeftNode = {
    {"mailID",      1,		"int"},
    {"title",		1,		"string"},
    {"sendTime",    1,		"int"},
    {"isRead",		1,		"int"},
    {"hasItem",     1,		"int"},
}


-- 查询信件详情
CG_MAIL_DETAIL = {
    {"mailID",      1,		"int"},
}

GC_MAIL_DETAIL = {
    {"mail",         1,     MailNode},
}

-- 拉邮件
CG_ASK_MAIL_LIST = {
    {"mailType",    1,     "int"},
}

GC_ASK_MAIL_LIST = {
    {"mailList",	50,	   MailLeftNode},
}

-- 取附件
CG_FETCH_ATTACHMENT = {
    {"mailIDList",		100,     "int"},
}

GC_FETCH_ATTACHMENT = {
    {"mailIDList",		100,	   "int"},
}

-- 新邮件通知
GC_HAS_NEW_MAIL = {
    {"nouse",		1,		"int"},
}

-- 标志邮件已查看
CG_READ_MAIL = {
    {"mailID",		50,     "int"},
}

-- 删除邮件
CG_DEL_MAIL = {
    {"mailIDList",	50,     "int"},
}

GC_DEL_MAIL = {
    {"mailIDList",	50,     "int"},
}

LW_SENDMAIL = {
    {"uuid",        1,      "string"},     
    {"title",       1,      "string"},
    {"content",     1,      "string"},
    {"itemlist",    8,		require("bag.Proto").ItemData},
}
